package com.yl.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lfs
 * @since 2020-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TEnterprise extends Model<TEnterprise> {

    private static final long serialVersionUID = 1L;

    @TableId("ENTERPRISE_ID")
    private Long enterpriseId;

    @TableField("NAME")
    private String name;

    @TableField("SIGN")
    private String sign;

    @TableField("WORKER_NUM")
    private Integer workerNum;

    @TableField("TYPE")
    private String type;

    @TableField("ADDRESS")
    private String address;

    @TableField("INTRO")
    private String intro;

    @TableField("FZR_NAME")
    private String fzrName;

    @TableField("FZR_TEL")
    private String fzrTel;

    @TableField("AREA")
    private BigDecimal area;

    @TableField("CAPACITY")
    private Integer capacity;

    @TableField("CREATE_TIME")
    private String createTime;

    @TableField("LONGITUDE")
    private String longitude;

    @TableField("LATITUDE")
    private String latitude;

    @TableField("IS_WATER_POINT")
    private long isWaterPoint;

    @TableField("ACCOUNT")
    private String account;

    @TableField("PASSWORD")
    private String password;

    @TableField("SIGNUP_SAFE")
    private long signupSafe;

    @TableField("IS_SAFE")
    private long isSafe;

    @TableField("SAFE_YEAR")
    private long safeYear;

    @TableField("STOCK_NUM")
    private long stockNum;

    @Override
    protected Serializable pkVal() {
        return this.enterpriseId;
    }

}
